package com.oracle.cmp.service;

import com.oracle.cmp.common.Result;
import com.oracle.cmp.entity.Parts;

import java.util.List;
import java.util.Map;

public interface PartsService {

    public Result save(Parts parts);

    public Result queryForPage(Map<String, Object> map, int pageNum);

    public Result selectById(int partsid) ;

    public Result update(Parts parts) ;

    public Result delete(int partsid) ;

    public int count(Map<String, Object> map);

    public List<Parts> querajax(String partsname);
}
